{% extends "base.html" %}

{% block title %}{{buyer.companyName}} Contact Information{% endblock %}
{% block keywords %}{{buyer.companyName}}, {{buyer.contactName}}, {{buyer.country}}, {{buyer.mainProduct}}{% endblock %}
{% block description %}{{buyer.companyName}} Contact Person:{{buyer.contactName}}, Address:{{buyer.address}}, Zip:{{buyer.postCode}}, Telephone:{{buyer.tel}}, Fax:{{buyer.fax}} {% endblock %}

{% block body %}

  {% if buyer %}
    <div class="contactInformation">
      <h2><b>{{buyer.companyName}}</b> Contact Information:</h2>
        <table cellspacing=0 cellpadding=0 width=100% class="tables data" border=0>
          <tr>
            <th>Contact Person:</th>
            <td>{{buyer.contactName}}</td>
          </tr>
          <tr>
            <th>Category:</th>
            <td><a href="/category/{{buyer.category}}" title="Show more {{buyer.category}} buyers">{{buyer.category}}</a></td>
          </tr>
          <tr>
            <th>Main Product:</th>
            <td>{{buyer.mainProduct}}</td>
          </tr>
          <tr>
            <th width="30%">Company Name:</th>
            <td>{{buyer.companyName}}</td>
          </tr>
          <tr>
            <th>Street Address: </th>
            <td>{{buyer.address}}</td>
          </tr>
          <tr>
            <th>Country/Region: </th>
            <td><a href="/country/{{buyer.country|escape}}" title="Show more {{buyer.country}} buyers">{{buyer.area}} - {{buyer.country}}</a></td>
          </tr>
          <tr>
            <th>Zip:</th>
            <td>{{buyer.postCode}}</td>
          </tr>
          <tr>
            <th>Telephone:</th>
            <td>{{buyer.tel}}</td>
          </tr>
          <tr>
            <th>Fax:</th>
            <td>{{buyer.fax}}</td>
          </tr>
          <tr>
            <th>Mobile:</th>
            <td>{{buyer.mobile}}</td>
          </tr>
          <tr>
            <th>Website:</th>
            <td>{{buyer.site|urlize}}</td>
          </tr>
          <tr>
            <th>Email:</th>
            <td>
            {% if userInfo.isLogin %}
              {{buyer.email|urlize}}
            {% else %}
              <a href="{{userInfo.loginUrl}}">view detail please sign in</a>
            {% endif %}
            </td>
          </tr>

        </table>
    </div>
    
  {% endif %}
  <h3 align="center"><a href="/">&lt;&lt; Back to global buyer list</a></h3>
{% endblock %}